<script type="text/javascript" src="./tpl/js/share_list.js"></script>
<div>
	<ul class="t_l share_detail_list" id="SHARE_DETAIL_LiST">
		<!--{loop $share_list $share_item}-->
		<li class="t_f" id="SHARE_LIST_{$share_item['share_id']}">
	        <div class="hd">
				<!--{getuser $share_item['uid'] 0 'm,48' ',avt icard r5 lazyload'}-->
				<div class="addfo">
					<!--{getfollow $share_item['uid'] inc/getfollow/share_list}-->
				</div>
			</div>
			<div class="tk">
				<div class="inf">
					<!--{getuser $share_item['uid'] 1 '' 'icard n gc'}-->
					<span>
						<!--{if $share_item['is_best'] == 1}--> 
						<img src="./tpl/images/twitter_tj.jpg" style="margin-right:-10px;margin-left:10px;margin-top:-3px;*margin-top:-24px;" class="fr">
						<!--{/if}--> 
						<a target="_blank" href="{$share_item['url']}" class="t fr">{$share_item['time']}</a>
					</span>
				</div>
				<p class="sms">{cutstr $share_item['content'] 200}</p>
				<!--{if !empty($share_item['tags']['user']) || $share_item['is_eidt_tag']}-->
				<?php
					$is_eidt_tag = $share_item['is_eidt_tag'];
					$share_tags_share_id = $share_item['share_id'];
					$share_tags = $share_item['tags']['user'];
				?>
				<!--{subtemplate inc/share/tags}-->
				<!--{/if}-->
				<!--{if !empty($share_item['imgs'])}-->
				<ul class="pic_b">
					<!--{loop $share_item['imgs'] $share_item_img}-->
					<!--{if $share_item_img['type'] == 'g'}-->
					<li t="good" ttype="bigMode" style="display:block; width:320px " class="pic_b_f r5">       
					   <div class="pic_b_hd" style="height:19px;">
							<a class="buy_it mg_slink" target="_blank" href="{$share_item_img['to_url']}"><span class="g_p"><span>{$share_item_img['price_format']}</span></span><i></i></a>	
						</div>
						<div class="pic_b_bd noSmall">
							<a class="add_to_album_btn" href="javascript:;" style="display: none;" onclick="$.Show_Rel_Album($share_item_img['id'],'goods');"></a>
							<img class="lazyload" alt="{$share_item_img['name']}" original="{getimg $share_item_img['img'] 468 468}" src="./tpl/images/lazyload.gif">
						</div>
						<div class="show_big">
							<img class="big_book" style="right:37px" src="./tpl/images/book_13x13.png">
							<a class="big_detail" ref="nofollow" style="right:10px" target="_blank" href="{$share_item_img['url']}">详情</a>
						</div>
					</li>
					<!--{else}-->
					<li t="image" ttype="bigMode" style="display:block; width:320px" class="pic_b_f r5 SHOW_BIG_PIC">
						<div class="pic_b_bd noSmall">
							<a class="add_to_album_btn" href="javascript:;" style="display: none;" onclick="$.Show_Rel_Album($share_item_img['id'],'photo');"></a>
							<img class="lazyload" original="{getimg $share_item_img['img'] 468 468}" src="./tpl/images/lazyload.gif">
						</div>	
						<div class="show_big">
							<img class="big_book" src="./tpl/images/book_13x13.png">
							<a class="big_detail" ref="nofollow" target="_blank" href="{$share_item_img['url']}">详情</a>
							<img class="big_cur" src="./tpl/images/big_13x13.png">
							<a class="bigimg" ref="nofollow" target="_blank" href="{$share_item_img['img']}">查看原图</a>
						</div>
					</li>
					<!--{/if}-->
					<!--{/loop}-->
				</ul>
				<!--{/if}-->
				<!--{if $share_item['is_relay'] && $share_item['relay_share']['share_id'] != $current_share_id}-->
				<!--{eval $relay_share = &$share_item['relay_share'];}-->
				<div class="q r5">
					<img src="./tpl/images/quote_arrow.png" class="q_a">
					<p class="sms">
						@<!--{getuser $relay_share['uid'] 0 '' 'icard n'}-->：{cutstr $relay_share['content'] 200} <a href="{$relay_share['url']}" target="_blank">原文转发({$relay_share['relay_count']})</a>  <a href="{$relay_share['url']}" target="_blank">原文评论({$relay_share['comment_count']})</a>
					</p>
					<!--{if !empty($relay_share['imgs'])}-->
					<div class="pic" style="display: block;">
						<!--{loop $relay_share['imgs'] $relay_share_img}-->
                    	<div class="r3">
                            <img{if $relay_share_img['type'] == 'g'} alt="{$relay_share_img['name']}"{/if} class="fl lazyload" original="{getimg $relay_share_img['img'] 100 100}" src="./tpl/images/lazyload.gif"/>
							<!--{if $relay_share_img['type'] == 'g'}-->
							<img class="tag" src="./tpl/images/goods_tag.png" />
							<!--{/if}-->
                        </div>
						<!--{/loop}-->
                        <br class="clear">                       
                	</div>
					<ul class="pic_b">
						<!--{loop $relay_share['imgs'] $relay_share_img}-->
						<!--{if $relay_share_img['type'] == 'g'}-->
						<li class="pic_b_f r5" style="display: none;"> 
							<div class="pic_b_hd" style="height:19px;">
								<a class="mg_slink ofh" ref="nofollow" target="_blank" href="{$relay_share_img['to_url']}">{$relay_share_img['name']}</a>
								<a class="buy_it mg_slink" target="_blank" href="{$relay_share_img['to_url']}"><span class="g_p"><span>{$relay_share_img['price_format']}</span></span><i></i></a>	
							</div>                
							<div class="pic_b_bd">
								<a class="add_to_album_btn" href="javascript:;" style="display: none;" onclick="$.Show_Rel_Album($relay_share_img['id'],'goods');"></a>
								<img class="lazyload" alt="{$relay_share_img['name']}" original="{getimg $relay_share_img['img'] 468 468}" src="./tpl/images/lazyload.gif">
							</div>
							<div class="show_big">
								<img class="big_book" style="right:37px" src="./tpl/images/book_13x13.png">
								<a class="big_detail" ref="nofollow" style="right:10px" target="_blank" href="{$relay_share_img['url']}">详情</a>
							</div>
						</li>
						<!--{else}-->
						<li class="pic_b_f r5" style="display: none;">
							<div class="pic_b_bd">
								<a class="add_to_album_btn" href="javascript:;" style="display: none;" onclick="$.Show_Rel_Album($relay_share_img['id'],'photo');"></a>
								<img class="lazyload" original="{getimg $relay_share_img['img'] 468 468}" src="./tpl/images/lazyload.gif">
							</div>	
							<div class="show_big">
								<img class="big_book" src="./tpl/images/book_13x13.png">
								<a class="big_detail" ref="nofollow" target="_blank" href="{$relay_share_img['url']}">详情</a>
								<img class="big_cur" src="./tpl/images/big_13x13.png">
								<a class="bigimg" ref="nofollow" target="_blank" href="{$relay_share_img['img']}">查看原图</a>
							</div>
						</li>
						<!--{/if}-->
						<!--{/loop}-->
					</ul>
					<!--{/if}-->
				</div>
				<!--{/if}-->
				<div class="tl">
					<a w="f" href="javascript:;" class="add_fav fav" onclick="$.Fav_Share({$share_item['share_id']},this,32,'#SHARE_LIST_{$share_item['share_id']}');"></a>
					<div class="favDiv">
						<a href="{$share_item['url']}" target="_blank" class="SHARE_FAV_COUNT favCount">{$share_item['collect_count']}</a><i></i>
					</div>
					<!--{if $share_item['authoritys'] > 0}-->
					<a w="f" href="javascript:;" class="mg SHARE_MANAGE">管理</a>
					<!--{/if}-->
					<a w="f" href="javascript:;" class="fw ed" onclick="$.Relay_Share($share_item['share_id']);">转发({$share_item['relay_count']})</a>
					<a w="f" href="javascript:;" class="cmt ed" shareID="{$share_item['share_id']}" onclick="$.Get_Share_Comment_List(this);">评论({$share_item['comment_count']})</a>
				</div>
				<ul class="SHARE_FAV_LIST u_like">
					<!--{loop $share_item['collects'] $collect_uid}-->
					<li><!--{getuser $collect_uid 0 'm' ',icard r3'}--></li>
					<!--{/loop}-->
				</ul>
				<ul class="t_m_l_h SHARE_MANAGE_LIST">
					<!--{if $share_item['authoritys'] > 0}-->
					<li><a class="del" onclick="$.Tweet_Delete($share_item['share_id'])" href="javascript:void(0);">删除</a></li>
					<!--{if $share_item['authoritys'] > 1}-->
					<li><a class="del" onclick="$.Tweet_Delete($share_item['share_id'],1)" href="javascript:void(0);">剔除</a></li>
					<!--{/if}-->
					<!--{/if}-->
				</ul>
			</div>
		</li>
		{/loop}
	</ul>
	<div class="pagination"> 
		<!--{subtemplate inc/pages}--> 
	</div>
</div>
<script type="text/javascript">
function ShareListUpdateUserFollow(obj,result)
{
	if(result.status == 1)
	{
		$(obj).before('<img src="./tpl/images/add_fo_ok.png" class="fo_ok">');
		$(obj).remove();
	}
}
</script>